import NativePlatform = require('./NativePlatform');


export default class AndroidPlatform extends NativePlatform {

    init(bg) {

        this.bg = bg;
        this.params = {
            devid: 6, devtype: 5, appid: "com.taoqi001.mp_marmot_amazon",
            appver: 300, token: "8bba0bcbdd4b6a768c90aa3cf4ea7283"
        };
    }

    setStorage(obj: Object) {
        cc.sys.localStorage.setItem(obj['key'], obj['value']);
    };

    getStorage(key): any {
        return cc.sys.localStorage.getItem(key);
    };

}